package pojo;

import java.util.Date;

/**
 * File entity. @author MyEclipse Persistence Tools
 */

public class File implements java.io.Serializable {

	// Fields

	private long fileId;
	private User user;
	private Filetype filetype;
	private String fileDesc;
	private String fileTitle;
	private String fileContent;
	private Date updateDate;
	private String fileIag;
	private String fileFormat;

	// Constructors

	/** default constructor */
	public File() {
	}

	/** full constructor */
	public File(User user, Filetype filetype, String fileDesc,
			String fileTitle, String fileContent, Date updateDate,
			String fileIag, String fileFormat) {
		this.user = user;
		this.filetype = filetype;
		this.fileDesc = fileDesc;
		this.fileTitle = fileTitle;
		this.fileContent = fileContent;
		this.updateDate = updateDate;
		this.fileIag = fileIag;
		this.fileFormat = fileFormat;
	}

	// Property accessors

	public long getFileId() {
		return this.fileId;
	}

	public void setFileId(long fileId) {
		this.fileId = fileId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Filetype getFiletype() {
		return this.filetype;
	}

	public void setFiletype(Filetype filetype) {
		this.filetype = filetype;
	}

	public String getFileDesc() {
		return this.fileDesc;
	}

	public void setFileDesc(String fileDesc) {
		this.fileDesc = fileDesc;
	}

	public String getFileTitle() {
		return this.fileTitle;
	}

	public void setFileTitle(String fileTitle) {
		this.fileTitle = fileTitle;
	}

	public String getFileContent() {
		return this.fileContent;
	}

	public void setFileContent(String fileContent) {
		this.fileContent = fileContent;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getFileIag() {
		return this.fileIag;
	}

	public void setFileIag(String fileIag) {
		this.fileIag = fileIag;
	}

	public String getFileFormat() {
		return this.fileFormat;
	}

	public void setFileFormat(String fileFormat) {
		this.fileFormat = fileFormat;
	}

}